﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{
    public class LeaveModel:BaseEntity
    {
        public int UserId {  get; set; }
        /// <summary>
        /// 当前登录人
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 当前登录人的部门 外键
        /// </summary>
        public int DeionId { get; set; }
        /// <summary>
        /// 请假类型
        /// </summary>   
        public string LeaveType {  get; set; }

        public DateTime LeaveStartTime { get; set; }

        public DateTime LeaveEndTime { get; set; }
        public int LeaveZong {  get; set; }
        public DateTime BaoDaoTime { get; set; }
        /// <summary>
        /// 请假原因
        /// </summary>
        public string LeaveReason {  get; set; }

        public string? ApprocalYuan {  get; set; }

        public string? BuFuName {  get; set; }
        /// <summary>
        /// true 已审批
        /// false  未
        /// </summary>
        public bool ApprovalState {  get; set; }=false;
    }
}
